package com.itheima.service;

import com.itheima.domain.User;

import java.util.List;

public interface UserService {
    User findEmailAndPwd(String email, String password);

    List<User> findAll(Integer pageNum, Integer pageSize);

    void save(User user);

    void deleteById(Integer id);
}
